/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WarrantyEnum extends StringEnum
{
    public static final String WIN_VALUE = "10";
    public static final String WOUT_VALUE = "20";

    public static final WarrantyEnum wIn = new WarrantyEnum("wIn", WIN_VALUE);
    public static final WarrantyEnum wOut = new WarrantyEnum("wOut", WOUT_VALUE);

    /**
     * construct function
     * @param String warrantyEnum
     */
    private WarrantyEnum(String name, String warrantyEnum)
    {
        super(name, warrantyEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WarrantyEnum getEnum(String warrantyEnum)
    {
        return (WarrantyEnum)getEnum(WarrantyEnum.class, warrantyEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WarrantyEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WarrantyEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WarrantyEnum.class);
    }
}